package com.xnyzc.lhy.common.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: 孙政
 * @Date:
 * @Description:
 */
@NoArgsConstructor
@Data
@ToString
@JsonIgnoreProperties(ignoreUnknown = true)
public class GouldLYResult {
    @ApiModelProperty(value = "状态码")
    private String errcode;
    @ApiModelProperty(value = "信息")
    private String errmsg;
    @ApiModelProperty(value = "错误细节")
    private String errdetail;
    private Info data;

    @NoArgsConstructor
    @Data
    public static class Info{
        @ApiModelProperty(value = "服务id")
        private Long sid;

        @ApiModelProperty(value = "终端id")
        private Long tid;

        @ApiModelProperty(value = "轨迹id")
        private Long trid;

        @ApiModelProperty(value = "终端名称")
        private String name;

        @ApiModelProperty(value = "轨迹名称")
        private String trname;

        @ApiModelProperty(value = "上传轨迹失败时错误信息")
        private String errorpoints;
    }
}
